// Move.cpp

#include "includes.h"

Move::Move(unsigned int fromSquare, unsigned int toSquare)
{
	unsigned int i = A6;
	unsigned int j = 0;
	unsigned int k = 0;

  debug(1, "entering Move::Move()");

  this->fromSquare = fromSquare;
  this->toSquare = toSquare;
/*
	while(i)
	{
		if (toSquare & i)
			j++;
		i = i >> 1;
	}

	i = A6;

	while(i)
	{
		if (fromSquare & i)
			k++;
		i = i >> 1;
	}

	if ((j > 1) || (k > 1))
	{
		printf("ERROR: Trying to create a move from ");
		printMask(fromSquare);
		printf(" to ");
		printMask(toSquare);
		printf("\n");
		exit(EXIT_FAILURE);
	}
*/
  debug(1, "exiting Move::Move()");
}


